@import "../../assets/css/reset.css";
@import "../../assets/css/common.css";
@import "../../assets/css/property.css";
@import "../../assets/js/swiper8/swiper-bundle.min.css";
.main {
  .swiper {
    width: 100%;
    height: 680px;

    .bg1 {
      background: url(../../assets/imgs/banner1.png) no-repeat center/cover;
    }
    .bg2 {
      background: url(../../assets/imgs/banner2.png) no-repeat center/cover;
    }
    .bg3 {
      background: url(../../assets/imgs/banner3.png) no-repeat center/cover;
    }

    .swiper-button-prev::after,
    .swiper-button-next::after {
      background: rgba(0, 0, 0, 0.5);
      padding: 20px;
      color: #fff;
    }
  }
  // 云服务
  .server-list {
    li {
      width: 240px;
      height: 280px;
      box-shadow: 2px 4px 10px 0 rgb(18 113 239 / 60%);
      cursor: pointer;

      .service-title {
        padding-left: 20px;
        font-size: 22px;
        color: #181818;
        margin: 5px 0 10px 0;
      }
      .service-dec {
        padding-left: 20px;
        font-size: 12px;
        color: #666;
      }
      .service-search {
        padding-left: 20px;
        color: #1271ef;
        font-size: 12px;
        display: block;
        margin: 20px 0;
      }
    }
  }

  // api分类
  .api-server {
    background: url(../../assets/imgs/more-api-bg.svg) no-repeat #f8f9fb;
    background-position: center;
    background-size: cover;
    padding: 78px 0 30px 0;
    margin-top: 94px;

    .index-title {
      margin-top: 0px;
    }
    .api-list {
      li {
        width: 224px;
        height: 138px;
        background-color: #fff;
        box-shadow: 1px 4px 8px 0 rgb(18 113 239 / 60%);
        margin-bottom: 20px;
        text-align: center;
        cursor: pointer;

        &:hover {
          background-color: rgb(47, 126, 233);
        }
        &:hover p {
          color: #fff;
        }
        img {
          margin-top: 36px;
          margin-bottom: 15px;

          &:nth-child(2) {
            display: none;
          }
        }
        p {
          color: #181818;
          font-size: 16px;
        }
      }
    }
    .more {
      text-align: center;
      margin-top: 20px;
      margin-bottom: 40px;

      p {
        font-size: 14px;

        a {
          color: #1271ef;
          &:hover {
            color: #00bdff;
          }
        }
      }
    }
  }

  // 汇集
  .master-box {
    .master-left {
      width: 613px;
      height: 596px;
    }
    .master-right {
      width: 546px;
      height: 596px;
      margin-top: 30px;
      li {
        background-color: #fbfbfd;
        margin-bottom: 20px;
        padding: 20px;
        margin-bottom: 15px;
        position: relative;
        h3 {
          text-indent: 25px;
          color: #333;
          font-size: 18px;
          background: url(../../assets/imgs/master-item-icon-01.svg) no-repeat;
        }
        &:nth-child(2) h3 {
          background-image: url(../../assets/imgs/master-item-icon-02.svg)
            no-repeat;
        }
        &:nth-child(3) h3 {
          background: url(../../assets/imgs/master-item-icon-03.svg) no-repeat;
        }
        &:nth-child(4) h3 {
          background: url(../../assets/imgs/master-item-icon-04.svg) no-repeat;
        }
        &:nth-child(5) h3 {
          background: url(../../assets/imgs/master-item-icon-05.svg) no-repeat;
        }
        &:nth-child(6) h3 {
          background: url(../../assets/imgs/master-item-icon-06.svg) no-repeat;
        }
        &:nth-child(7) h3 {
          background: url(../../assets/imgs/master-item-icon-07.svg) no-repeat;
        }

        p {
          color: #666;
          font-size: 12px;
          margin-top: 10px;
        }

        span {
          width: 4px;
          height: 24px;
          background-color: #1271ef;
          display: block;
          position: absolute;
          left: 0;
          top: 30px;
        }
      }
    }
  }

  // 银行
  .bank-content {
    height: 270px;
    background-color: #f8f9fb;
    margin-top: 94px;
    position: relative;
    .bank-left {
      width: 580px;
      height: 290px;
      position: absolute;
      top: -20px;
    }
    .bank-right {
      width: 550px;
      height: 270px;
      position: absolute;
      right: 114px;
      background-color: #f8f9fb;
      img {
        position: absolute;
        top: -20px;
      }
      p {
        margin-top: 50px;
        font-size: 14px;
        line-height: 25px;
      }
      span {
        position: absolute;
        right: 0px;
        bottom: 20px;
        font-size: 12px;
      }
      em {
        position: absolute;
        width: 18px;
        height: 4px;
        background-color: #1271ef;
        left: -25px;
        top: 5px;
      }
    }
    & > div {
      opacity: 0;
    }
    & > div.active {
      transition: all 1s;
      opacity: 1;
    }
  }
  // 数据安全
  .icon-list {
    li {
      width: 200px;
      height: 142px;
      p {
        width: 160px;
        height: 52px;
        text-align: center;
        font-size: 12px;
        line-height: 52px;
      }
    }
    .item {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      img {
        margin-top: 20px;
      }
    }
  }

  // 免费使用
  .experience {
    width: 100%;
    height: 241px;
    background: url(../../assets/imgs/login-register-bg.svg) no-repeat center
      #1271ef;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 94px;
    p {
      font-size: 32px;
      color: #fff;
      margin-bottom: 30px;
    }
    a {
      display: block;
      width: 128px;
      height: 40px;
      line-height: 40px;
      color: #fff;
      font-size: 12px;
      border: 1px solid #fff;
      text-align: center;
    }
  }
}
// 回到顶部
.toTop {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: deeppink;
  background: url(../../assets/imgs/returntopicon.jpg) no-repeat;
  position: fixed;
  left: 50%;
  top: 70%;
  margin-left: 600px;
  background-position: -47px -87px;
  cursor: pointer;
  display: none;
  &:hover {
    background-position: -47px -26px;
  }
}
